PrizmDoc v12.0 - November 15, 2016
Linux

The included script ./scripts/pccis.sh can be used to start and stop the Watchdog service, which will bring up the PrizmDoc Server as defined in the configuration files.

The following examples assume the default install location. If you did not install it to the default location, replace /usr/share/prizm with the location to which you installed it.

Start

Example
Copy Code
/usr/share/prizm/scripts/pccis.sh start

Stop

Example
Copy Code
/usr/share/prizm/scripts/pccis.sh stop

Including PCCIS to the Boot Sequence

You can also configure PCCIS to be started / stopped together with the system in 2 steps:

  1. Create a symbolic link to the ./scripts/pccis.sh in /etc/init.d/ directory:
Example
Copy Code
ln -s /usr/share/prizm/scripts/pccis.sh /etc/init.d/pccis
  1. Register PCCIS as an init script, so that it is managed by the system. This step is platform-dependent.

RedHad / CentOS

Example
Copy Code
chkconfig --add pccis

Debian / Ubuntu

Example
Copy Code
update-rc.d pccis defaults

Once done, the system should stop PCCIS, when going to reboot (runlevel 6) or shutdown (runlevel 0). It will also not be started, when booting in single-user mode (runlevel 1 - usually used for system recovery). PCCIS will be started in all other cases (runlevels 2 - 5).

Tip: Normally, there shouldn’t ever be a need to change these defaults, but in case there is, you can use the mentioned commands to adjust the order of executing relative to other init scripts as well as runlevel manually:

Example
Copy Code
update-rc.d pccis start|stop NN runlvl [runlvl] [...]
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>

Tip: After the first step, you can use the service command to manage PCCIS instead of invoking the script directly. That way even if you don’t need PCCIS to be automatically started / stopped, you may want to complete the first step to be able to more easily manage it. The syntax is a follows:

Example
Copy Code
service pccis start|stop|restart|status

Excluding PCCIS from the Boot Sequence

If you want to prevent PCCIS from starting / stopping together with the system, you need to revert Step 2 from the section above. It is done as follows:

RedHad / CentOS

Example
Copy Code
chkconfig --del pccis

Debian / Ubuntu

Example
Copy Code
update-rc.d -f pccis remove

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback